package com.pan.note.dao;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 秀恩爱说说携带附件实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("NoteFile")
public class NoteFileDao implements Serializable {
    //id
    @TableId(value = "id")
    private String id;
    //说说携带附件类型（图片，视频，gif)
    @TableField(value = "note_file_type")
    private String noteFileType;
    //说说携带附件名称（文件名)
    @TableField(value = "note_file_name")
    private String noteFileName;
    //说说携带附件归属id（文件名)
    @TableField(value = "note_file_id")
    private String noteFileId;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
